package cn.com.coldg.factory;

import cn.com.coldg.dao.UserInfoDAO;
import cn.com.coldg.dao.UserTeamDAO;
import cn.com.coldg.daoImpl.UserInfoDAOImpl;
import cn.com.coldg.daoImpl.UserTeamDAOImpl;

public class DAOFactory {

	private static DAOFactory dao = null;
	private DAOFactory(){
		 dao=new DAOFactory();
		
	};
	
	public static DAOFactory getDAOInstance(){
		return dao;
	}
	

	public static UserInfoDAO getUserInfoDAOInstance(){
		return new UserInfoDAOImpl();
	}
	
	public static UserTeamDAO getUserTeamDAOInstance(){
		return new UserTeamDAOImpl();
	}
	
}
